package com.rchat.pocmini.activity.help;


import android.content.Intent;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.view.View;
import android.widget.TextView;

import com.rchat.pocmini.R;
import com.rchat.pocmini.common.mvp.BaseMvpActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by itsdf07 on 2017/8/18.
 */

public class HelpActivity extends BaseMvpActivity<HelpPresenterImpl, HelpModelImpl> implements HelpContract.View {
    @BindView(R.id.layout_back)
    View mLayoutBack;
    @BindView(R.id.helpInfo)
    TextView mTVHelpInfo;

    @Override
    public void initPresenter() {
        mPresenter.setVM(this, mModel);
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_help;
    }

    @Override
    public void initView() {
        mTVHelpInfo.setMovementMethod(ScrollingMovementMethod.getInstance());
    }

    @Override
    public void doAfterInitView() {

    }

    @OnClick({R.id.layout_back})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.layout_back:
                finish();
                break;
        }
    }
}
